<template>
  <div class="container">
    <button @click="setToken">login</button>
  </div>
</template>

<script>
export default {
  name: 'home-index',
  methods: {
    // test
    setToken () {
      this.$store.commit('setToken', { token: 1, refresh: 2 })
    }
  }
}
</script>

<style scoped lang='less'></style>
